//==============================================================================
// market_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import building_damage_defines_anim.txt


//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Large
            }
         }
      }
   }
}

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
      version
      {
         Visual Building VineB
      }
   }  
}

//==============================================================================
define CypressA
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressA
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define CypressOne
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressA
      }
   }  
}
//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building Beta G Market V2_Age3
replacetexture building beta g roofage3/building g roofage3
                    connect LeftHand CypressA hotspot
                    connect Righthand CypressB hotspot

            }
         }
         set hotspot
         {
            version
            {
                  Visual Building Construction Medium A
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
                }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building G ConstructionMarket
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
            }
         }
      }
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building Beta G Market V2
replacetexture building beta g roofage3/building g roofage3
                    connect LeftHand CypressA hotspot
                    connect Righthand CypressB hotspot

            }
         }
         set hotspot
         {
            version
            {
                  Visual Building Construction Medium A
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
                }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building G ConstructionMarket
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
            }
         }
      }
   }
}
//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building Beta G Market V2_Age3Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
                  Visual Building Construction Medium A
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
                }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building G ConstructionMarket
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
            }
         }
      }
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
                  Visual Building Beta G Market V2_Death
replacetexture building beta g roofage3/building g roofage3
                    connect LeftHand CypressA hotspot
                    connect Righthand CypressB hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot

            }
         }
         set hotspot
         {
            version
            {
                  Visual Building Construction Medium A
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
                }
            }
            set hotspot
            {
               version
               {
                  Visual Building Construction Medium B
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
               }
            }
            set hotspot
            {
               version
               {
                  Visual Building G ConstructionMarket
                  connect ATTACHPOINT empower hotspot
		            connect attachpoint E_Long_Brick hotspot
		            connect face E_Long_Brick hotspot
		            connect chin E_Medium_Brick hotspot
		            connect leftfoot E_Medium_Brick hotspot
		            connect lefthand E_Small_Brick hotspot
		            connect leftleg E_Small_Brick hotspot
            }
         }
      }
   }
}